﻿<?xml version="1.0" encoding="utf-8" ?>

<platform xmlns="http://metalx.org/Platform" namespace="http://metalx.org/Pc/Scsi/Commands">
	<constants>
		<constant name="FormatUnit" value="04">
			Command				8 bits
			FormatProtection	1 bit
			ReferenceTag		1 bit
			LongParameters		1 bit
			FormatData			1 bit
			CompleteList			1 bit
			DefectListFormat	3 bits
			Reserved				32 bits
		</constant>
		<constant name="Inquiry" value="12">
			Command				8 bits
			Reserved				7 bits
			VitalProductData	1 bit
			PageCode				8 bits
			AllocationLength	16 bits
			Reserved				8 bits
		</constant>
		<constant name="Read6" value="08">
			Command					8 bits
			Reserved					3 bits
			LogicalBlockAddress	21 bits
			TransferLength			8 bits
			Reserved					8 bits
		</constant>
		<constant name="Read10" value="28">
			Command					8 bits
			ProtectionInfo			3 bit
			DisablePageOut			1 bit
			ForceUnitAccess			1 bit
			Reserved					1 bit
			NonVolatile				1 bit
			Reserved					1 bit
			LogicalBlockAddress	32 bits
			Reserved					3 bits
			GroupNumber			5 bits
			TransferLength			16 bits
			Reserved					8 bits
		</constant>
		<constant name="Read12" value="a8"/>
		<constant name="Read16" value="88"/>
		<constant name="Read32" value="7f"/>
		<constant name="ReadCapacity10" value="25">
			Command					8 bits
			Reserved					8 bits
			PartialLogicalBlock		32 bits
			Reserved					23 bits
			PartialMode				1 bit
			Reserved					8 bits
		</constant>
		<constant name="ReadCapacity16" value="9e"/>
		<constant name="Write6" value="0a"/>
		<constant name="Write10" value="2a"/>
		<constant name="Write12" value="aa"/>
		<constant name="Write16" value="8a"/>
		<constant name="Write32" value="7f"/>
		<constant name="StartStopUnit" value="1b">
			Command				8 bits
			Reserved				7 bits
			Immediate				1 bit
			Reserved				16 bits
			PowerCondition		4 bits	(1 = Active, 2 = Idle, 3 = Standby)
			Reserved				2 bits
			LoadEjectMode		1 bit
			Start						1 bit
			Reserved				8 bits
		</constant>
	</constants>
</platform>